home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1998 May / PCPlus May 1998=disk A.iso / full / CBUILDER / SAMS / SAMPLES / CHAP06 / MAIN.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-12  |  958 b   |  26 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef MainH
  3. #define MainH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <Buttons.hpp>
  10. //---------------------------------------------------------------------------
  11. class TMainForm : public TForm
  12. {
  13. __published:    // IDE-managed Components 
  14.     TButton *ShowForm2;
  15.     TButton *AboutButton;
  16.     void __fastcall ShowForm2Click(TObject *Sender);
  17.     void __fastcall AboutButtonClick(TObject *Sender);
  18. private:        // User declarations
  19. public:         // User declarations
  20.     virtual __fastcall TMainForm(TComponent* Owner);
  21. };
  22. //---------------------------------------------------------------------------
  23. extern TMainForm *MainForm;
  24. //---------------------------------------------------------------------------
  25. #endif
  26.